<template>
    <button @click="getTalk">获取一句土味情话</button>
    <ul>
        <li v-for="talk in talkList" :key="talk.id">
            {{ talk.content }}
        </li>
    </ul>
</template>

<script lang="ts" setup>
    import { reactive } from 'vue';

    import {nanoid} from 'nanoid'
    import axios from 'axios'

    let talkList = reactive([{
        id:"t01",
        content:"我喜欢你"
    },{
        id:"t02",
        content:"谁是我的姑娘"
    }])


    //获取一句土味情话
    function getTalk(){
        
    }
</script>

<script>
</script>